<?php
require("db_conn.php");//包含连接文件
$sql="SELECT * FROM tb_buy where id=1 ";
  $typers=$conn->query($sql); 
  $typerows=$typers->fetch_all(MYSQLI_BOTH); 
$typers->free();
$sql="SELECT * FROM tb_buy where id limit 1,3";
  $typenamers=$conn->query($sql); 
  $typenamerows=$typenamers->fetch_all(MYSQLI_BOTH); 
$typenamers->free();